home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="EUC-KR" ?>
- <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
- <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
- <!-- English Revision: 1.3.2.6 -->
-
- <!--
- Copyright 2002-2004 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
- <modulesynopsis metafile="mod_mem_cache.xml.meta">
-
- <name>mod_mem_cache</name>
- <description>URI╕ª ┼░╖╬ ╗τ┐δ╟╧┐⌐ │╗┐δ└╗ ─│╜¼╟╤┤┘.</description>
- <status>Experimental</status>
- <sourcefile>mod_mem_cache.c</sourcefile>
- <identifier>mem_cache_module</identifier>
-
- <summary>
- <note type="warning">
- └╠ ╕≡╡Γ└║ ╜╟╟Φ└√└╬ ╗≤┼┬└╠┤┘. ╣«╝¡┤┬ ╛╞┴≈ └█╛≈┴▀└╠┤┘...
- </note>
-
- <p>└╠ ╕≡╡Γ└╗ ╗τ┐δ╟╧╖┴╕Θ <module>mod_cache</module>░í
- <em>╟╩┐Σ╟╧┤┘</em>. └╠ ╕≡╡Γ└║ <module>mod_cache</module>╕ª
- ┴÷┐°╟╧╕τ ╕▐╕≡╕«▒Γ╣▌ └·└σ░ⁿ╕«└┌╕ª ┴ª░°╟╤┤┘.
- <module>mod_mem_cache</module>┤┬ ╞─└╧▒Γ╝·└┌╕ª ─│╜¼┐í └·└σ╟╧░┼│¬
- ░┤├╝╕ª ╚ⁿ ░°░ú┐í ─│╜¼╟╧┤┬ ╡╬░í┴÷ ╣µ╜─└╕╖╬ ╡┐└█╟╤┤┘.
- <module>mod_mem_cache</module>┤┬ ┴≈┴ó ╝¡╣÷░í ╗²╝║╟╤ ╞Σ└╠┴÷╕ª
- ─│╜¼╟╧░┼│¬ <directive module="mod_proxy">ProxyPass</directive>╖╬
- ╝│┴ñ╟╤ (<dfn>┐¬╟┴╖╧╜├(reverse proxy)</dfn>)
- <module>mod_proxy</module>└╟ ╡▐┤▄ ╝¡╣÷│╗┐δ└╗ ─│╜¼╟╥╢º ┴╓╖╬
- ╗τ┐δ╟╤┤┘.</p>
-
- <p>│╗┐δ└║ URI╕ª ┼░╖╬ ╗τ┐δ╟╧┐⌐ ─│╜¼┐í └·└σ╟╧░φ ░í┴«┐┬┤┘.
- ┴ó▒┘└╗ ┴ª╛ε╟╧┤┬ │╗┐δ└║ ─│╜¼┐í └·└σ╟╧┴÷ ╛╩┤┬┤┘.</p>
- </summary>
- <seealso><module>mod_cache</module></seealso>
- <seealso><module>mod_disk_cache</module></seealso>
-
- <directivesynopsis>
- <name>MCacheSize</name>
- <description>─│╜¼┐í ╗τ┐δ╟╥ ├╓┤δ ╕▐╕≡╕«╖« (KByte ┤▄└º)</description>
- <syntax>MCacheSize <var>KBytes</var></syntax>
- <default>MCacheSize 100</default>
- <contextlist><context>server config</context></contextlist>
-
- <usage>
- <p><directive>MCacheSize</directive> ┴÷╜├╛ε┤┬ ─│╜¼┐í ╗τ┐δ╟╥
- ├╓┤δ ╕▐╕≡╕«╖«└╗ KByte ┤▄└º╖╬ (1024 ╣┘└╠╞« ┤▄└º) ╝│┴ñ╟╤┤┘.
- ╗⌡╖╬┐ε ░┤├╝└╗ ─│╜¼┐í ├▀░í╟╪╛▀ ╟╧┤┬╡Ñ ░┤├╝└╟ ┼⌐▒Γ░í │▓└║
- ╕▐╕≡╕«║╕┤┘ ┼⌐┤┘╕Θ ╗⌡╖╬┐ε ░┤├╝└╗ ─│╜¼╟╥ ╝÷ └╓└╗╢º▒ε┴÷ ┤┘╕Ñ
- ░┤├╝╕ª ┴ª░┼╟╤┤┘. <directive
- module="mod_mem_cache">MCacheRemovalAlgorithm</directive>└╕╖╬
- ┴÷┴ñ╟╤ ╛╦░φ╕«┴≥└╗ ╗τ┐δ╟╧┐⌐ ┴ª░┼╟╥ ░┤├╝╕ª ╝▒┼├╟╤┤┘.</p>
-
- <example><title>┐╣┴ª</title>
- MCacheSize 700000
- </example>
-
- <note><title>┴╓└╟</title>
- <p><directive>MCacheSize</directive> ░¬└║ <directive
- module="mod_mem_cache">MCacheMaxObjectSize</directive>
- ┴÷╜├╛ε╖╬ ┴÷┴ñ╟╤ ░¬║╕┤┘ ─┐╛▀ ╟╤┤┘.</p>
- </note>
- </usage>
- </directivesynopsis>
-
- <directivesynopsis>
- <name>MCacheMaxObjectCount</name>
- <description>─│╜¼┐í └·└σ╟╥ ╝÷ └╓┤┬ ├╓┤δ ░┤├╝░│╝÷</description>
- <syntax>MCacheMaxObjectCount <var>value</var></syntax>
- <default>MCacheMaxObjectCount 1009</default>
- <contextlist><context>server config</context></contextlist>
-
- <usage>
- <p><directive>MCacheMaxObjectCount</directive> ┴÷╜├╛ε┤┬
- ─│╜¼╟╥ ╝÷ └╓┤┬ ├╓┤δ ░┤├╝░│╝÷╕ª ╝│┴ñ╟╤┤┘. └╠ ░¬└║ ╟╪╜¼┼╫└╠║φ└╗
- ╕╕╡Θ╢º ╗τ┐δ╟╤┤┘. ╗⌡╖╬┐ε ░┤├╝╕ª ─│╜¼┐í ├▀░í╟╪╛▀ ╟╧┤┬╡Ñ ├╓┤δ
- ░┤├╝░│╝÷┐í ╡╡┤▐╟╧┐┤┤┘╕Θ, ╗⌡╖╬┐ε ░┤├╝╕ª ─│╜¼╟╥ ╝÷ └╓╡╡╖╧
- ┤┘╕Ñ ░┤├╝╕ª ┴ª░┼╟╤┤┘. <directive
- module="mod_mem_cache">MCacheRemovalAlgorithm</directive>└╕╖╬
- ┴÷┴ñ╟╤ ╛╦░φ╕«┴≥└╗ ╗τ┐δ╟╧┐⌐ ┴ª░┼╟╥ ░┤├╝╕ª ╝▒┼├╟╤┤┘.</p>
-
- <example><title>┐╣┴ª</title>
- MCacheMaxObjectCount 13001
- </example>
- </usage>
- </directivesynopsis>
-
- <directivesynopsis>
- <name>MCacheMinObjectSize</name>
- <description>─│╜¼┐í └·└σ╟╥ ╣«╝¡└╟ ├╓╝╥ ┼⌐▒Γ (╣┘└╠╞« ┤▄└º)</description>
- <syntax>MCacheMinObjectSize <var>bytes</var></syntax>
- <default>MCacheMinObjectSize 0</default>
- <contextlist><context>server config</context></contextlist>
-
- <usage>
- <p><directive>MCacheMinObjectSize</directive> ┴÷╜├╛ε┤┬ ─│╜¼┐í
- └·└σ╟╥ ╣«╝¡└╟ ├╓╝╥ ┼⌐▒Γ╕ª ╣┘└╠╞« ┤▄└º╖╬ ┴÷┴ñ╟╤┤┘.</p>
-
- <example><title>┐╣┴ª</title>
- MCacheMinObjectSize 10000
- </example>
- </usage>
- </directivesynopsis>
-
- <directivesynopsis>
- <name>MCacheMaxObjectSize</name>
- <description>─│╜¼┐í └·└σ╟╥ ╣«╝¡└╟ ├╓┤δ ┼⌐▒Γ (╣┘└╠╞« ┤▄└º)</description>
- <syntax>MCacheMaxObjectSize <var>bytes</var></syntax>
- <default>MCacheMaxObjectSize 10000</default>
- <contextlist><context>server config</context></contextlist>
-
- <usage>
- <p><directive>MCacheMaxObjectSize</directive> ┴÷╜├╛ε┤┬ ─│╜¼┐í
- └·└σ╟╥ ╣«╝¡└╟ ├╓┤δ ┼⌐▒Γ╕ª ╣┘└╠╞« ┤▄└º╖╬ ┴÷┴ñ╟╤┤┘.</p>
-
- <example><title>┐╣┴ª</title>
- MCacheMaxObjectSize 6400000
- </example>
-
- <note><title>Note</title>
- <p><directive>MCacheMaxObjectSize</directive> ░¬└║ <directive
- module="mod_mem_cache">MCacheMinObjectSize</directive>
- ┴÷╜├╛ε╖╬ ┴÷┴ñ╟╤ ░¬║╕┤┘ ─┐╛▀ ╟╤┤┘.</p>
- </note>
- </usage>
- </directivesynopsis>
-
- <directivesynopsis>
- <name>MCacheRemovalAlgorithm</name>
- <description>─│╜¼┐í╝¡ ┴ª░┼╟╥ ╣«╝¡╕ª ├ú┤┬ ╛╦░φ╕«┴≥</description>
- <syntax>MCacheRemovalAlgorithm LRU|GDSF</syntax>
- <default>MCacheRemovalAlgorithm GDSF</default>
- <contextlist><context>server config</context></contextlist>
-
- <usage>
- <p><directive>MCacheRemovalAlgorithm</directive> ┴÷╜├╛ε┤┬
- ─│╜¼┐í╝¡ ┴ª░┼╟╥ ╣«╝¡╕ª ├ú┤┬ ╛╦░φ╕«┴≥└╗ ┴÷┴ñ╟╤┤┘.</p>
-
- <dl>
- <dt><code>LRU</code> (Least Recently Used)</dt>
- <dd><code>LRU</code>┤┬ ░í└σ ┐└╖í╡┐╛╚ ┴ó▒┘╟╧┴÷ ╛╩└║ ╣«╝¡╕ª
- ╕╒└· ┴ª░┼╟╤┤┘.</dd>
-
- <dt><code>GDSF</code> (GreadyDual-Size)</dt>
- <dd><code>GDSF</code>┤┬ ─│╜¼ ╜╟╞╨(cache miss) ║±┐δ░· ╣«╝¡└╟
- ┼⌐▒Γ╕ª ░í┴÷░φ ─│╜¼╟╤ ╣«╝¡┐í ┐∞╝▒╝°└º╕ª ║╬┐⌐╟╤┤┘. ░í└σ
- ┐∞╝▒╝°└º░í │╖└║ ╣«╝¡╕ª ╕╒└· ┴ª░┼╟╤┤┘.</dd>
- </dl>
-
- <example><title>┐╣┴ª</title>
- MCacheRemovalAlgorithm GDSF<br />
- MCacheRemovalAlgorithm LRU
- </example>
- </usage>
- </directivesynopsis>
-
- <directivesynopsis>
- <name>MCacheMaxStreamingBuffer</name>
- <description>└└┤Σ└╗ ─│╜¼╛╚╟╤┤┘░φ ░ß┴ñ╟╧▒Γ └ⁿ▒ε┴÷ ╕▐╕≡╕« ╣÷╞█┐í
- └·└σ╟╥ ╜║╞«╕▓ └└┤Σ└╟ ├╓┤δ ┼⌐▒Γ</description>
- <syntax>MCacheMaxStreamingBuffer <var>size_in_bytes</var></syntax>
- <default>MCacheMaxStreamingBuffer 100000░· MCacheMaxObjectSize
- ┴▀┐í └█└║ ░¬</default>
- <contextlist><context>server config</context>
- </contextlist>
-
- <usage>
- <p><directive>MCacheMaxStreamingBuffer</directive> ┴÷╜├╛ε┤┬
- └└┤Σ└╠ │╩╣½ ─┐╝¡ ─│╜¼╟╥ ╝÷ ╛°└╗╢º▒ε┴÷ ╣÷╞█┐í └·└σ╟╥ ╜║╞«╕▓
- └└┤Σ└╟ ├╓┤δ ╣┘└╠╞«╝÷╕ª ╝│┴ñ╟╤┤┘. ╜║╞«╕▓ └└┤Σ(streamed response)└║
- └ⁿ├╝ │╗┐δ└╗ ┴∩╜├ ╛╦ ╝÷ ╛°░φ <code>Content-Length</code>╡╡
- ╕≡╕ú┤┬ └└┤Σ└╠┤┘. ╟┴╖╧╜├╡╚ └└┤Σ└╠│¬ CGI ╜║┼⌐╕│╞«└╟ ├Γ╖┬└╠
- ╜║╞«╕▓ └└┤Σ┐í ╝╙╟╤┤┘. ▒Γ║╗└√└╕╖╬ <code>Content-Length</code>
- ╟∞┤⌡░í ╛°┤┘╕Θ ╜║╞«╕▓ └└┤Σ└╗ ─│╜¼┐í └·└σ╟╧┴÷ <em>╛╩┤┬┤┘</em>.
- └╠└»┤┬ ─│╜¼┐í └·└σ╟╧▒Γ┐í │╩╣½ ┼½ └└┤Σ└╟ └╧║╬╕ª ╣÷╞█┐í
- └·└σ╟╧▒Γ└º╟╪ ╕╣└║ ╕▐╕≡╕«╕ª │╢║±╟╧┴÷ ╛╩▒Γ└º╟╪╝¡└╠┤┘.
- <directive>MCacheMaxStreamingBuffer</directive> ┴÷╜├╛ε╕ª
- ╗τ┐δ╟╧╕Θ <code>Content-Length</code>░í ╛°┤┬ ╜║╞«╕▓ └└┤Σ└╗
- ┴÷┴ñ╟╤ ┼⌐▒Γ▒ε┴÷╕╕ ╣÷╞█┐í └·└σ╟╤┤┘. ├╓┤δ ┼⌐▒Γ╕ª │╤╛ε╝¡╕Θ
- ╣÷╞█ │╗┐δ└╗ ╣÷╕«░φ ─│╜¼╟╧┴÷ ╛╩┤┬┤┘.</p>
-
- <note><title>┴╓└╟:</title>
- <p><directive>MCacheMaxStreamingBuffer</directive>┐í 0└╠
- ╛╞┤╤ ░¬└╗ ╝│┴ñ╟╧┐⌐╡╡ ┼¼╢≤└╠╛≡╞«╖╬ └└┤Σ└╗ ┤╩░╘ ║╕│╗┴÷ ╛╩┤┬┤┘.
- <module>mod_mem_cache</module>┤┬ ╜║╞«╕▓ └└┤Σ└╟ └╧║╬╕ª
- ╣÷╞█┐í ║╣╗τ╟╧└┌╕╢└┌ ┼¼╢≤└╠╛≡╞«╖╬ ║╕│╗▒Γ└º╟╪ ┤┘└╜ ├Γ╖┬╟╩┼═╖╬
- ║╕│╜┤┘.</p>
- </note>
-
- <example>
- # ╜║╞«╕▓ └└┤Σ└╗ 64KB▒ε┴÷ ─│╜¼╟╤┤┘:<br />
- MCacheMaxStreamingBuffer 65536
- </example>
- </usage>
- </directivesynopsis>
-
- </modulesynopsis>
-